<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<!--<form action="http://localhost:5000/result" method="post">-->
<form action="{{ url_for('result') }}" method="post">

    <p>Name: <input type="text" name="name"></p>
    <p>Age: <input type="text" name="age"></p>
    <p>Gender: <input type="text" name="gender"></p>
    <p>Address: <input type="text" name="address"></p>
    <p><input type="submit" value="submit"></p>
</form>

</body>
</html>